@charset "UTF-8";

.page-content-center {
  position: relative;
  height: 100vh;

  /* 背景 */
  .bg {
    position: absolute;
    inset: 0;
    img {
      width: 100%;
      height: 100%;
    }
  }

  /* 菜单区域 */
  .menu-area {
    position: absolute;
    top: 15vh;
    left: 3vw;
  }

  /* 视频列表区域 */
  .video-list-area {
    position: absolute;
    top: 24vh;
    right: 6vh;
    width: 18vw;
    height: 532px;
    padding: 2vh;
    background-color: rgba(0, 0, 0, 0.5);
    .big-title {
      margin-bottom: 3vh;
    }
    .video-item {
      position: relative;
      display: block;
      height: 19vh;
      margin-bottom: 4vh;
      .video--cover {
        width: 100%;
        height: 100%;
      }
      .video--mask {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.3);
        img {
          width: 38px;
        }
      }
      p {
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
        line-height: 4vh;
        font-size: 12px;
        text-indent: 10px;
        background-color: rgba(0, 0, 0, 0.5);
        color: #ccc;
      }
    }
  }

  /* 英雄区域 */
  .hero-area {
    position: absolute;
    top: 15vh;
    right: 22vw;
    left: 17vw;
    .hero-select-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 445px;
      height: 6vh;
      margin-bottom: 3vh;
      padding: 4px;
      border: 1px solid #a9905e;
      .hero {
        display: flex;
        align-items: center;
      }
      .hero__avator {
        width: 40px;
        border: 1px solid #a9905e;
      }
      .hero__name {
        margin-left: 30px;
        color: #ccc;
      }
      .arrow {
        margin-right: 10px;
        cursor: pointer;
        transition: all 0.4s;
        &:hover {
          transform: rotate(180deg);
        }
      }
    }
    .hero-info-wrapper {
      display: flex;
      height: 532px;
    }

    /* 基本信息 */
    .hero-base-info {
      position: relative;
      width: 445px;

      /* 海报 */
      .hero-poster {
        position: absolute;
        inset: 0;
        img {
          width: 100%;
          height: 100%;
        }
      }

      /* 职业 */
      .hero-job {
        position: absolute;
        top: 30px;
        right: 30px;
        text-align: center;
        img {
          width: 36px;
        }
        p {
          text-align: center;
          color: #fff;
          &.small {
            font-size: 8px;
          }
        }
      }

      /* 名称 */
      .hero-name {
        position: absolute;
        right: 0;
        left: 0;
        bottom: 120px;
        width: 111px;
        margin: 0 auto;
        p {
          margin-bottom: 5px;
          text-align: center;
          font-size: 34px;
          font-weight: 700;
          color: #e9d8b4;
          &.race {
            font-size: 20px;
            font-weight: 400;
            color: #ccc;
          }
        }
      }

      /* 技能 */
      .hero-skills {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 120px;
        padding: 0 40px;
        background-color: rgba(0, 0, 0, 0.3);
        .skill {
          position: relative;
          margin: 0 20px;
          &:hover {
            .popup {
              display: block;
            }
          }
          .txt {
            margin-top: 10px;
            text-align: center;
            font-size: 10px;
            color: #aaa;
          }
          .popup {
            position: absolute;
            left: 50%;
            bottom: 90px;
            display: none;
            width: 290px;
            transform: translate(-50%);
            transition: all 0.5s;
          }
        }
      }
    }

    /* 其他信息 */
    .hero-other-info {
      flex: 1;
      padding: 2vh 3vw;
      background-color: rgba(0, 0, 0, 0.5);

      /* 推荐出装 */
      .recommend-area {
        margin-bottom: 50px;
        .recommend-content {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 20px;
          .item {
            position: relative;
            &:hover {
              .popup {
                display: block;
              }
            }
            .popup {
              position: absolute;
              top: 0;
              left: 56px;
              display: none;
              z-index: 10;
              width: 300px;
            }
          }
        }
      }

      /* 技能加点建议 */
      .suggestion-area {
        margin-bottom: 50px;
        .suggestion__content {
          display: flex;
          align-items: flex-start;
          .item {
            display: flex;
            align-items: center;
            margin-right: 50px;
            color: #aaa;
            .title {
              color: #fff;
            }
            .img-wrapper {margin-left: 10px;}
          }
        }
      }

      /* 英雄关系 */
      .relationship-area {
        .relationship-content {
          display: flex;
          align-items: center;
          margin-top: 20px;
          .icon {
            width: 22px;
            height: 22px;
            img {width: 100%;}
          }
          .relationship {
            flex-shrink: 0;
            margin: 0 20px;
            color: #fff;
          }
          .avator {
            position: relative;
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            margin-right: 10px;
            // overflow: hidden;
            
            cursor: pointer;
            &.active::after {
              position: absolute;
              top: 0;
              left: 0;
              width: 44px;
              height: 44px;
              content: "";
              border: 2px solid #a9905e;
              border-radius: 50%;
              transform: translate(-4px, -4px);
            }
            img {
              width: 100%;
              border-radius: 50%;
            }
          }
          .desc {
            font-size: 12px;
            color: #ccc;
          }
        }
      }
    }
  }

  /* 带圆框的图片*/
  .border-image {
    position: relative;
    width: 52px;
    height: 52px;
    text-align: center;
    img {
      position: relative;
      top: 50%;
      width: 50px;
      transform: translateY(-50%);
      &.circle-border {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: translateY(0);
      }
    }
  }

  /* 弹框 */
  .popup {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    .popup__top {
      display: flex;
      align-items: flex-start;
      margin-bottom: 30px;
      .popup__top__left {
        width: 60px;
        margin-right: 30px;
        img {
          width: 100%;
        }
      }
      .popup__top__right {
        flex: 1;
      }
      .title {
        margin-bottom: 5px;
        color: #fff;
      }
      p {
        line-height: 1.3;
        font-size: 14px;
      }
    }
    p {
      line-height: 2;
      font-size: 12px;
      color: #aaa;
    }
  }

  /* 大标题 */
  .big-title {
    height: 36px;
    line-height: 36px;
    margin-bottom: 1vh;
    font-size: 16px;
    text-indent: 50px;
    background: url('../../img/content-center/icon-book.png') no-repeat 0 center;
    color: #fff;
    &.big-title--helmet {
      background-image: url('../../img/content-center/icon-helmet.png');
    }
    &.big-title--bulb {
      background-image: url('../../img/content-center/icon-bulb.png');
    }
    &.big-title--group {
      background-image: url('../../img/content-center/icon-group-1.png');
    }
  }

  /* 选项卡 */
  .tabs {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    .tab {
      flex: 1;
      position: relative;
      line-height: 35px;
      text-align: center;
      color: #fff;
      cursor: pointer;
      &::after {
        position: absolute;
        top: 10px;
        right: 0;
        bottom: 10px;
        width: 1px;
        content: '';
        background-color: rgba(255, 255, 255, 0.3);
      }
      &:last-child::after {
        display: none;
      }
      &.active {
        color: #a9905e;
        &::before {
          position: absolute;
          right: 0;
          left: 0;
          bottom: -1px;
          content: '';
          height: 1px;
          background-color: #a9905e;
        }
      }
    }
  }
}
